<!DOCTYPE html>
<html lang="zh" class="pjaxLoadding-busy">
<head>
<meta name="Generator" content="ECJIA 1.36" />
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<title>添加优惠活动 - ECJIA 管理面板</title>
	<link rel="shortcut icon" href="favicon.ico" />
	<link rel="stylesheet" id="bootstrap-css"  href="static/css/bootstrap.min.css" type="text/css" media="all" />
<link rel="stylesheet" id="bootstrap-responsive-css"  href="static/css/bootstrap-responsive.min.css" type="text/css" media="all" />
<link rel="stylesheet" id="jquery-jBreadCrumb-css"  href="static/css/breadcrumb.css" type="text/css" media="all" />
<link rel="stylesheet" id="flags-css"  href="static/css/flags.css" type="text/css" media="all" />
<link rel="stylesheet" id="fontello-css"  href="static/css/fontello.css" type="text/css" media="all" />
<link rel="stylesheet" id="ecjia-css"  href="static/css/ecjia.css" type="text/css" media="all" />
<link rel="stylesheet" id="ecjia-ui-css"  href="static/css/ecjia.ui.css" type="text/css" media="all" />
<link rel="stylesheet" id="ecjia-function-css"  href="static/css/ecjia.function.css" type="text/css" media="all" />
<link rel="stylesheet" id="ecjia-skin-blue-css"  href="static/css/ecjia.skin.blue.css" type="text/css" media="all" />
<link rel="stylesheet" id="jquery-sticky-css"  href="static/css/sticky.css" type="text/css" media="all" />
<link rel="stylesheet" id="bootstrap-editable-css"  href="static/css/bootstrap-editable.css" type="text/css" media="" />
<link rel="stylesheet" id="chosen-css"  href="static/css/chosen.css" type="text/css" media="all" />
<link rel="stylesheet" id="uniform-aristo-css"  href="static/css/uniform.aristo.css" type="text/css" media="all" />
<link rel="stylesheet" id="datetimepicker-css"  href="static/css/bootstrap-datetimepicker.min.css" type="text/css" media="all" />

	
	<script type="text/javascript" src="static/js/jquery.min.js"></script>
<script type="text/javascript" src="static/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="static/js/jquery-pjax.js"></script>
<script type="text/javascript" src="static/js/jquery-cookie.min.js"></script>
<script type="text/javascript" src="static/js/bootstrap.min.js"></script>
<script type="text/javascript" src="static/js/jquery-ui-totop.min.js"></script>
<script type="text/javascript" src="static/js/ecjia.js"></script>
<script type="text/javascript" src="static/js/jquery.quicksearch.js"></script>
<script type="text/javascript" src="static/js/antiscroll.min.js"></script>
<script type="text/javascript" src="static/js/jquery-mousewheel.js"></script>
<script type='text/javascript'>
/* <![CDATA[ */
var admin_lang = {"display_sidebar":"\u663e\u793a\u4fa7\u8fb9\u680f","hide_sidebar":"\u9690\u85cf\u4fa7\u8fb9\u680f","search_check":"\u8bf7\u5148\u8f93\u5165\u641c\u7d22\u4fe1\u606f","search_no_message":"\u672a\u641c\u7d22\u5230\u5bfc\u822a\u4fe1\u606f","success":"\u64cd\u4f5c\u6210\u529f","fail":"\u64cd\u4f5c\u5931\u8d25","confirm_jump":"\u662f\u5426\u786e\u8ba4\u8df3\u8f6c\uff1f","ok":"\u786e\u5b9a","cancel":"\u53d6\u6d88","request_failed":"\u8bf7\u6c42\u5931\u8d25\uff0c\u9519\u8bef\u7f16\u53f7\uff1a","error_msg":"\uff0c\u9519\u8bef\u4fe1\u606f\uff1a"};
/* ]]> */
</script>
<script type="text/javascript" src="static/js/ecjia-admin.js"></script>
<script type="text/javascript" src="static/js/ecjia.ui.js"></script>
<script type="text/javascript" src="static/js/bootstrap-editable.min.js"></script>
<script type="text/javascript" src="static/js/bootstrap-datetimepicker.js"></script>
<script type='text/javascript'>
/* <![CDATA[ */
var js_lang = {"batch_drop_confirm":"\u60a8\u786e\u5b9e\u8981\u5220\u9664\u9009\u4e2d\u7684\u4f18\u60e0\u6d3b\u52a8\u5417\uff1f","all_need_not_search":"\u4f18\u60e0\u8303\u56f4\u662f\u5168\u90e8\u5546\u54c1\uff0c\u4e0d\u9700\u8981\u6b64\u64cd\u4f5c","range_exists":"\u8be5\u9009\u9879\u5df2\u5b58\u5728","pls_search":"\u8bf7\u5148\u641c\u7d22\u76f8\u5e94\u7684\u6570\u636e","price_need_not_search":"\u4f18\u60e0\u65b9\u5f0f\u662f\u4eab\u53d7\u4ef7\u683c\u6298\u6263\uff0c\u4e0d\u9700\u8981\u6b64\u64cd\u4f5c","gift":"\u8d60\u54c1\uff08\u7279\u60e0\u54c1\uff09","price":"\u4ef7\u683c","act_name_not_null":"\u8bf7\u8f93\u5165\u4f18\u60e0\u6d3b\u52a8\u540d\u79f0","min_amount_not_number":"\u91d1\u989d\u4e0b\u9650\u683c\u5f0f\u4e0d\u6b63\u786e\uff08\u6570\u5b57\uff09","max_amount_not_number":"\u91d1\u989d\u4e0a\u9650\u683c\u5f0f\u4e0d\u6b63\u786e\uff08\u6570\u5b57\uff09","act_type_ext_not_number":"\u4f18\u60e0\u65b9\u5f0f\u540e\u9762\u7684\u503c\u4e0d\u6b63\u786e\uff08\u6570\u5b57\uff09","amount_invalid":"\u91d1\u989d\u4e0a\u9650\u5c0f\u4e8e\u91d1\u989d\u4e0b\u9650\u3002","start_lt_end":"\u4f18\u60e0\u5f00\u59cb\u65f6\u95f4\u4e0d\u80fd\u5927\u4e8e\u6216\u7b49\u4e8e\u7ed3\u675f\u65f6\u95f4"};
/* ]]> */
</script>
<script type="text/javascript" src="static/js/favourable_list.js"></script>

	
	
	
</head>
<body>
	
	<div id="contentwrapper">
			<h3 class="heading">
		添加优惠活动		 <a class="btn plus_or_reply data-pjax" href="http://demodaojia.ecjia.com/index.php?m=favourable&c=admin&a=init" id="sticky_a"><i class="fontello-icon-reply"></i>优惠活动列表</a>	</h3>
</div>

<form id="form-privilege" class="form-horizontal" name="theForm" action="http://demodaojia.ecjia.com/index.php?m=favourable&c=admin&a=insert" method="post" data-edit-url="http://demodaojia.ecjia.com/index.php?m=user&c=admin&a=edit" >
	<fieldset>
		<div class="row-fluid editpage-rightbar edit-page">
			<div class="left-bar">
				<div class="control-group formSep">
					<label class="control-label">优惠活动名称：</label>
					<div class="controls">
						<input type="text" name="act_name" id="act_name" value="" size="40" class="w350"  />
						<span class="input-must"><span class="require-field" style="color:#FF0000,">*</span></span> 
					</div>
				</div>

				<div class="control-group formSep">
					<label class="control-label">优惠活动时间：</label>
					<div class="controls">
						<div class="controls-split">
							<div class="ecjiaf-fl wright_wleft">
								<input name="start_time" class="date wspan12" type="text" placeholder="请选择活动开始时间" value="2018-11-24"/>
							</div>
							<div class="ecjiaf-fl p_t5 wmidden">至</div>
							<div class="ecjiaf-fl wright_wleft">
								<input name="end_time" class="date wspan12" type="text" placeholder="请选择活动结束时间" value="2018-11-27"/>
							</div>
						</div>
					</div>
				</div>
				<div class="control-group formSep">
					<label class="control-label">享受优惠的会员等级：</label>
  					<div class="controls chk_radio">
							   						<input type="checkbox" name="user_rank[]" value="0"  />
	   						非会员
   							   						<input type="checkbox" name="user_rank[]" value="5"  />
	   						注册用户
   											</div>
				</div>
				
				<div class="control-group formSep">
					<label class="control-label">金额下限：</label>
  					<div class="controls">
						<input class="w350" name="min_amount" type="text" id="min_amount" value="0">
					</div>
				</div>
				<div class="control-group formSep">
					<label class="control-label">金额上限：</label>
  					<div class="controls">
						<input class="w350" name="max_amount" type="text" id="max_amount" value="0">
						<span class="help-block">0表示没有上限</span>
					</div>
				</div>
				<div class="control-group">
					<div class="controls">
					    					    	<button class="btn btn-gebo" type="submit">确定</button>
		                						<input type="hidden" name="act" value="http://demodaojia.ecjia.com/index.php?m=favourable&c=admin&a=insert" />
						<input type="hidden" name="act_id" id="isok" value="0" />
					</div>
				</div>
			</div>
			<div class="right-bar move-mod">
				<div class="foldable-list move-mod-group">
					<div class="accordion-group">
						<div class="accordion-heading">
							<a class="accordion-toggle acc-in move-mod-head" data-toggle="collapse" data-target="#telescopic1"><strong>优惠活动范围</strong></a>
						</div>
						<div class="accordion-body in in_visable collapse" id="telescopic1">
							<div class="accordion-inner">
								<div class="control-group-small">
				  					<div class="edit-page">
										<select name="act_range" id="act_range_id">
											<option value="0" selected="selected" selected="selected">全部商品</option>
											<option value="1" >以下分类</option>
											<option value="2" >以下品牌</option>
											<option value="3" >以下商品</option>
								        </select>
									</div>
									<div class="m_t10 choose_list" id="range_search"  style="display:none" >
										<input name="keyword" type="text" id="keyword" placeholder="输入关键字进行搜索">
										<input name="store_id" type="hidden" id="store_id" value="" />
										<button class="btn" type="button" id="search" data-url='http://demodaojia.ecjia.com/index.php?m=favourable&c=admin&a=search'>搜索</button>
							    	</div>
						    		<ul id="range-div" >
								      								      	</ul>
									<div class="m_t15" id="selectbig1" style="display:none">
										<select name="result" id="result" class="w300 noselect" size="10">
										</select>
									</div>						    	
								</div>
							</div>
						</div>
					</div>
				</div>

				<div class="foldable-list move-mod-group">
					<div class="accordion-group">
						<div class="accordion-heading">
							<a class="accordion-toggle acc-in move-mod-head" data-toggle="collapse" data-target="#telescopic2"><strong>优惠活动方式</strong></a>
						</div>
						<div class="accordion-body in in_visable collapse" id="telescopic2">
							<div class="accordion-inner">
								<div class="control-group-small">
					  				<div class="edit-page">
										<select name="act_type" id="act_type_id" class="" >
<!-- 											<option value="0" selected="selected">享受赠品（特惠品）</option> -->
											<option value="1" >享受现金减免</option>
											<option value="2" >享受价格折扣</option>
								        </select>
										<input class="f_r w70" name="act_type_ext" type="text" id="act_type_ext" value="0" />
									</div>
									<div class="m_t5 m_b5 clear">
								        <span class="help-block">当优惠方式为“享受赠品（特惠品）”时，请输入允许买家选择赠品（特惠品）的最大数量，数量为0表示不限数量；当优惠方式为“享受现金减免”时，请输入现金减免的金额；当优惠方式为“享受价格折扣”时，请输入折扣（1－99），如：打9折，就输入90。</span>
									</div>
									
									<!-- 
									<div class="choose_list" id="type_search">
										<div class="control-group m_t10" >
									    	<input name="keyword1" type="text" id="keyword1"  placeholder="输入特惠品关键字进行搜索" />
									    	<button type="button" id="search1" class="btn" data-url='http://demodaojia.ecjia.com/index.php?m=favourable&c=admin&a=search'>搜索</button>
									    </div>
									    <div id="gift-div" >
				                            <table id="gift-table" >
										        								     	 	</table>
								    	</div>
									    <div id="selectbig" style="display:none">
										    <select name="result1" id="result1" class="w300 noselect" size="10">
										    </select>
									    </div>
							    	</div>
							    	 -->
							    	 						    	
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</fieldset>
</form>

			
			</div>
		</div>
	
	</div>
	<script type="text/javascript" src="static/js/jquery-migrate.min.js"></script>
<script type="text/javascript" src="static/js/jquery-ui-touchpunch.min.js"></script>
<script type="text/javascript" src="static/js/json2.js"></script>
<script type="text/javascript" src="static/js/jquery-actual.min.js"></script>
<script type="text/javascript" src="static/js/sticky.min.js"></script>
<script type="text/javascript" src="static/js/jquery.validate.min.js"></script>
<script type="text/javascript" src="static/js/jquery.form.min.js"></script>
<script type="text/javascript" src="static/js/smoke.min.js"></script>
<script type="text/javascript" src="static/js/jquery.uniform.min.js"></script>
<script type="text/javascript" src="static/js/chosen.jquery.min.js"></script>
<script type="text/javascript" src="static/js/ecjia.chosen.js"></script>

	 

	
	
<script type="text/javascript">
	ecjia.admin.favourable_info.init();
</script>

	
    <div class="pjaxLoadding"><i class="peg"></i></div>
</body>
</html>
